package com.kinghunt.misp.dal.dao.providex;

import com.kinghunt.misp.dal.model.custx.CustDO;
import com.kinghunt.misp.dal.model.providex.ProvideDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 供应商基本信息表
* Created by Mybatis Generator on 2025/02/26
*/
public interface ProvideDAO {
    int deleteByPrimaryKey(Long provideId);

    int insert(ProvideDO record);

    int insertSelective(ProvideDO record);

    ProvideDO selectByPrimaryKey(Long provideId);

    int updateByPrimaryKeySelective(ProvideDO record);

    int updateByPrimaryKey(ProvideDO record);
    List<ProvideDO> selectProvideList(@Param("provide")ProvideDO provide,
                                @Param("offset")int offset,
                                @Param("size")int size);

    int selectProvideListCount(@Param("provide")ProvideDO provide);

    List<ProvideDO> selectByIds(@Param("list") List<Long> provideIds);

    List<ProvideDO> selectByProvideNo(@Param("provideNo")String provideNo);
}